package com.laf.manage.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laf.manage.enums.ContentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StoreVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "收藏类型 1 动态 2 失物")
    private Long contentId;

    @ApiModelProperty(value = "收藏类型 1 动态 2 失物")
    private ContentTypeEnum contentType;

    @ApiModelProperty(value = "收藏者id")
    private Long createUserId;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("图片列表")
    private String[] imageList;


    @ApiModelProperty("浏览量")
    private Integer hits;

    @ApiModelProperty("收藏量")
    private Integer storeCount;

    @ApiModelProperty("评论量")
    private Integer commentCount;

    @ApiModelProperty("收藏时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
